<!DOCTYPE html>
<html lang="en">
  <head>
    <title>FileMetadata Struct Reference</title>
    <link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../../js/jquery.min.js" defer></script>
    <script src="../../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Struct/FileMetadata" class="dashAnchor"></a>
    <a title="FileMetadata Struct Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../../index.html">Contentful Docs</a> (72% documented)</p>
        <p class="header-right"><a href="https://github.com/contentful/contentful.swift"><img src="../../img/gh.png"/>View on GitHub</a></p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../../index.html">Contentful Reference</a>
        <img id="carat" src="../../img/carat.png" />
        FileMetadata Struct Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Classes/Asset.html">Asset</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Asset/FileMetadata.html">– FileMetadata</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/AssetQuery.html">AssetQuery</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Client.html">Client</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes.html#/s:C10Contentful12ContentModel">ContentModel</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/ContentType.html">ContentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/ContentfulError.html">ContentfulError</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes.html#/s:C10Contentful5Entry">Entry</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/FilterQuery.html">FilterQuery</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Locale.html">Locale</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/LocalizableResource.html">LocalizableResource</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes.html#/s:C10Contentful19LocalizationContext">LocalizationContext</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Query.html">Query</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/QueryOn.html">QueryOn</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/RateLimitError.html">RateLimitError</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Resource.html">Resource</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/Space.html">Space</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/SyncSpace.html">SyncSpace</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/SysISO8601DateTransform.html">SysISO8601DateTransform</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Enums.html">Enums</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Enums/Bounds.html">Bounds</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/FieldType.html">FieldType</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/Fit.html">Fit</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/Focus.html">Focus</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/Format.html">Format</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/ImageOption.html">ImageOption</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/JPGQuality.html">JPGQuality</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/Link.html">Link</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/MimetypeGroup.html">MimetypeGroup</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/QueryError.html">QueryError</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/QueryOperation.html">QueryOperation</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/SDKError.html">SDKError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Extensions/Date.html">Date</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Extensions/Date/Formatter.html">– Formatter</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Extensions/Dictionary.html">Dictionary</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Extensions/Int.html">Int</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Extensions/String.html">String</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Functions.html">Functions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Functions.html#/s:F10Contentfuloi2eeFTCS_8ResourceS0__Sb">==(_:_:)</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Functions.html#/s:F10Contentfuloi2eeFTOS_11ImageOptionS0__Sb">==(_:_:)</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Protocols/AbstractQuery.html">AbstractQuery</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/ChainableQuery.html">ChainableQuery</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/ContentModellable.html">ContentModellable</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/EntryModellable.html">EntryModellable</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/Integration.html">Integration</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/PersistenceIntegration.html">PersistenceIntegration</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/QueryableRange.html">QueryableRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Protocols/SpaceModellable.html">SpaceModellable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Structs.html">Structs</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Structs/ArrayResponse.html">ArrayResponse</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/ClientConfiguration.html">ClientConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/Field.html">Field</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/LinkSys.html">LinkSys</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/MappedArrayResponse.html">MappedArrayResponse</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/MappedContent.html">MappedContent</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/OrderParameter.html">OrderParameter</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs.html#/s:V10Contentful14QueryParameter">QueryParameter</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Structs/Sys.html">Sys</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Typealiases.html">Typealiases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Typealiases.html#/s:10Contentful14ResultsHandler">ResultsHandler</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Typealiases.html#/s:10Contentful14TaskObservable">TaskObservable</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>FileMetadata</h1>
            <p>Undocumented</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC10Contentful5Asset12FileMetadata8fileNameSS"></a>
                    <a name="//apple_ref/swift/Property/fileName" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC10Contentful5Asset12FileMetadata8fileNameSS">fileName</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Original filename of the file.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">fileName</span><span class="p">:</span> <span class="kt">String</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/contentful/contentful.swift/tree//Sources/Asset.swift#L54">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC10Contentful5Asset12FileMetadata11contentTypeSS"></a>
                    <a name="//apple_ref/swift/Property/contentType" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC10Contentful5Asset12FileMetadata11contentTypeSS">contentType</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Content type of the file.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">contentType</span><span class="p">:</span> <span class="kt">String</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/contentful/contentful.swift/tree//Sources/Asset.swift#L57">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC10Contentful5Asset12FileMetadata7detailsGVs10DictionarySSP__"></a>
                    <a name="//apple_ref/swift/Property/details" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC10Contentful5Asset12FileMetadata7detailsGVs10DictionarySSP__">details</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Details of the file, depending on it&rsquo;s MIME type.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">details</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">:</span> <span class="kt">Any</span><span class="p">]</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/contentful/contentful.swift/tree//Sources/Asset.swift#L60">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:vVC10Contentful5Asset12FileMetadata4sizeSi"></a>
                    <a name="//apple_ref/swift/Property/size" class="dashAnchor"></a>
                    <a class="token" href="#/s:vVC10Contentful5Asset12FileMetadata4sizeSi">size</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The size of the file in bytes.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">size</span><span class="p">:</span> <span class="kt">Int</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/contentful/contentful.swift/tree//Sources/Asset.swift#L63">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FVC10Contentful5Asset12FileMetadatacERR"></a>
                    <a name="//apple_ref/swift/Method/init(map:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:FVC10Contentful5Asset12FileMetadatacERR">init(map:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/contentful/contentful.swift/tree//Sources/Asset.swift#L65-L70">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2017 <a class="link" href="https://www.contentful.com" target="_blank" rel="external">Contentful</a>. All rights reserved. (Last updated: 2017-07-31)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
